let t = require;
let  e = module
let  o =  e.exports;
 o.default =  e.exports;

                'use strict';
                console.log("start");
                var _n35,
                    i =
                    (this && this.__extends) ||
                    ((_n35 = function n(t, e) {
                            return (_n35 =
                                Object.setPrototypeOf ||
                                ({
                                        __proto__: []
                                    }
                                    instanceof Array &&
                                    function(t, e) {
                                        t.__proto__ = e;
                                    }) ||
                                function(t, e) {
                                    for (var o in e) {
                                        Object.prototype.hasOwnProperty.call(e, o) && (t[o] = e[o]);
                                    }
                                })(t, e);
                        }),
                        function(t, e) {
                            function o() {
                                this.constructor = t;
                            }
                            _n35(t, e),
                                (t.prototype =
                                    null === e ?
                                    Object.create(e) :
                                    ((o.prototype = e.prototype), new o()));
                        });
                Object.defineProperty(o, '__esModule', {
                        value: !0
                    }),
                    (o.BattleMrg = o.BattleEvent = void 0);
                var r,
                    a = t('AbsObject'),
                    s = t('NumValue');
                (function(t) {
                    (t.StartBattle = 'battle_event_start'),
                    (t.BattleOver = 'battle_event_over'),
                    (t.SoldierChanged = 'battle_event_soldier_changed'),
                    (t.SwapItemChanged = 'battle_event_Swap_Item_Changed'),
                    (t.EradicateItemChanged = 'battle_event_Eradicate_Item_Changed'),
                    (t.MoneyChanged = 'battle_event_Money_Changed'),
                    (t.BuffChanged = 'battle_event_Buff_Changed');
                })((r = o.BattleEvent || (o.BattleEvent = {})));
                var c = (function(t) {
                    function e() {
                        var e = t.call(this) || this;
                        return (
                            (e._swapItem = new s.default()),
                            (e._eradicateItem = new s.default()),
                            (e._money = new s.default()),
                            e
                        );
                    }
                    return (
                        i(e, t),
                        Object.defineProperty(e, 'ins', {
                            get: function get() {
                                return null == e._ins && (e._ins = new e()), e._ins;
                            },
                            enumerable: !1,
                            configurable: !0
                        }),
                        Object.defineProperty(e.prototype, 'swapItem', {
                            get: function get() {
                                return this._swapItem.value;
                            },
                            set: function set(t) {
                                (this._swapItem.value = t), this.emit(r.SwapItemChanged);
                            },
                            enumerable: !1,
                            configurable: !0
                        }),
                        Object.defineProperty(e.prototype, 'eradicateItem', {
                            get: function get() {
                                return this._eradicateItem.value;
                            },
                            set: function set(t) {
                                (this._eradicateItem.value = t),
                                this.emit(r.EradicateItemChanged);
                            },
                            enumerable: !1,
                            configurable: !0
                        }),
                        Object.defineProperty(e.prototype, 'money', {
                            get: function get() {
                                return this._money.value;
                            },
                            set: function set(t) {
                                (this._money.value = t), this.emit(r.MoneyChanged);
                            },
                            enumerable: !1,
                            configurable: !0
                        }),
                        e
                    );
                })(a.AbsObject);
                (o.BattleMrg = c), console.log("end");
            module.exports =  e.exports;